Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 11 |
Ratio | 100 % |
Changes | 0 |
1 | View Code Duplication | const DB = require('../../libraries/db') |
|
26 | first: async function (customerId) { |
||
27 | |||
28 | let user = await DB.readMysql.first( |
||
29 | '*' |
||
30 | ) |
||
31 | .from(table) |
||
32 | .where('id', customerId) |
||
33 | |||
34 | return user |
||
35 | |||
36 | }, |
||
37 | |||
44 | } |